#define _CRT_SECURE_NO_WARNINGS 1


#include"list.h"

int main()
{
	yyh::list<int> l1;
	l1.push_back(1);
	l1.push_back(2);
	l1.push_back(3);
	l1.push_back(4);
	yyh::list<int>::iterator it = l1.begin();
	while (it != l1.end())
	{
		cout << *it << ' ';
		++it;
	}
	cout << endl;
	
	return 0;
}